package com.xyh;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

import java.util.Scanner;
@SpringBootApplication
public class ServiceApp {
    public static void main(String[] args)throws Exception{
        Scanner scanner= new Scanner(System.in);
        String prot=scanner.nextLine();
        new SpringApplicationBuilder(ServiceApp.class).properties("server.port="+prot).run(args);
    }
}
